package com.sanley.coronavirus.service;

import com.sanley.coronavirus.entity.Notification;

import java.util.List;

public interface NotificationService {

    List<Notification> queryNotification(int page, int size);

    int addNotification(Notification notification, String username);

    int delete(Integer id);

    int updateNotification(Notification notification);

    Notification getNotificationById(int id);

    List<Notification> getNotificationByTittle(String tittle, int page, int size);
}
